package com.dragon8869.myspringboot.model;

import lombok.Data;

@Data
public class FileInfo {
    private String fileName;
    private String contentType;
    private String uri;
    private String previewUri;

    public boolean isPdf(){
        return "application/pdf".equals(contentType);
    }
}
